Find the endpoints to BPN discovery services and the EDC discovery service.
Find the endpoints to BPN discovery services and the EDC discovery service.
- application/json
Request Body required
The request body is expecting a list of types ( e.g. oen, bpid, etc.) to return available discovery endpoints.
- types string[] required
Possible values:
<= 10000
Responses
- 200
Returns discovery endpoints based on search filter.
- application/json
- Schema
- Example (from schema)
- Complete
Schema
endpoints DiscoveryEndpoint[]
Possible values:
<= 10000
type stringPossible values:
non-empty
and<= 200 characters
description stringPossible values:
non-empty
and<= 500 characters
endpointAddress stringPossible values:
non-empty
and<= 300 characters
documentation stringPossible values:
non-empty
and<= 500 characters
resourceId string
{
"endpoints": [
{
"type": "string",
"description": "string",
"endpointAddress": "string",
"documentation": "string",
"resourceId": "string"
}
]
}
{
"endpoints": [
{
"type": "oen",
"description": "Service to discover BPN to a particular OEN",
"endpointAddress": "http://...",
"documentation": "http://.../swagger/index.html",
"resourceId": "ec6f407b-4296-418c-9e4e-fb739fe72a67"
},
{
"type": "bpid",
"description": "Service to discover BPN to a particular Battery Pass ID",
"endpointAddress": "http://...",
"documentation": "http://.../swagger/index.html",
"resourceId": "08702529-3714-4c4f-b022-346b9b4fbbe2"
},
{
"type": "bpn",
"description": "Service to discover EDC to a particular BPN",
"endpointAddress": "http://...",
"documentation": "http://.../swagger/index.html",
"resourceId": "316417cd-0fb5-4daf-8dfa-8f68125923f1"
}
]
}
Loading...